#ifndef EXIT_STATE_H
#define EXIT_STATE_H

#include "..\..\include\game_state\game_state.h"
#include "..\..\include\graphics\graphics_renderer.h"
#include "..\..\include\game_manager.h"
#include "..\..\include\user_controller.h"


class ExitState : public GameState
{
  public:
	static ExitState* Instance();

	void onOpen();
	void onClose();

	void onEnter();
	void onExit();

	void update(GameManager*, UserController*);
	void render(GraphicsRenderer*);

  protected:
	ExitState();
	ExitState(const ExitState&);
	~ExitState();
	ExitState& operator=(const ExitState&);

  public:
	bool isOpened_;
	
	enum Choice { YES, NO };
	Choice currentSelection_;
	Font* textFont_;
};

#endif // EXIT_STATE_H